﻿using Advertising.Business.Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using System.Text;

namespace Advertising.Business.Server
{
    [ServiceContract]
    public interface ICategoryService
    {
        [OperationContract]
        int AddNewCategory(Category category);

        [OperationContract]
        ICollection<Category> ListCategories();

        [OperationContract]
        int EditCategory(Category category);

        [OperationContract]
        int DeleteCategory(int id);
    }
}
